package com.itheima.demo2;

class Animal {
    private String name;
    private String age;
    private String sex;

    Animal() {
    }

    public void eat(){
        System.out.println("动物吃饭!");
    }
}
